package com.kayang;

import com.kayang.common.config.CommonConfig;
import com.kayang.nadapt.util.LogHelper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableDiscoveryClient
@SpringBootApplication
public class FileServerApplication implements ApplicationRunner {

    public static void main(String[] args) {
        SpringApplication.run(FileServerApplication.class, args);
    }

    @Autowired
    CommonConfig dbConfig;


    @Override
    public void run(ApplicationArguments args) throws Exception {

        LogHelper.info("FileServer Startuped OK");
    }

}
